﻿using FluentValidation;
using System;
using System.Collections.Generic;
using System.Text;

namespace WYT.Usr.Application.Contracts.Dtos.Address.DtoValidators
{
    /// <summary>
    /// 
    /// </summary>
    public class UserAddressUpdationDtoValidator : AbstractValidator<UserAddressUpdationDto>
    {
        /// <summary>
        /// 
        /// </summary>
        public UserAddressUpdationDtoValidator()
        {
            Include(new UserAddressCreationDtoValidator());
            RuleFor(x => x.Id).NotEmpty();
        }
    }
}
